Skip to content

fix(fullscreen): remove early return blocking folder context menu [cherry-pick] - #862

Merged
wjyrich merged 1 commit into
linuxdeepin:develop/2500u3from
wjyrich:backport/861-develop-2500u3
Nov 26, 2026
Merged

wjyrich merged 1 commit into
linuxdeepin:develop/2500u3from
wjyrich:backport/861-develop-2500u3

Conversation

@wjyrich

@wjyrich wjyrich commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #861 to develop/2500u3.

全屏启动器中的应用组现在可以通过右键菜单发送到任务栏或从任务栏移除。移除应用组右键事件的提前返回,复用现有菜单及任务栏驻留逻辑。

Validation: 原提交已通过 launchpadcommon 构建;本次 cherry-pick 无冲突,git diff --check 通过。未在 U3 上重新构建或进行桌面交互验证。

Log: Restore folder context menus in the fullscreen launcher
Influence: Fullscreen launcher folder context menu
PMS: BUG-384455

Summary by Sourcery

Restore context-menu actions for application groups in the fullscreen launcher.

New Features:

  • Restore folder context menus in the fullscreen launcher, allowing application groups to be sent to or removed from the taskbar.

Bug Fixes:

  • Fix fullscreen folder context menus being blocked by an early return.

1. Remove the `if (folderIcons) return;` guard in the folder icon
`onMenuTriggered` handler
2. Allow the context menu to open when folderIcons mode is active
3. Restore focus to the base layer after the menu is triggered

Log: Context menu now opens for folder icons instead of being skipped
Influence: Folder context menu works in fullscreen launcher

fix(fullscreen): 移除阻止文件夹右键菜单的提前返回

1. 移除文件夹图标 onMenuTriggered 中的 `if (folderIcons) return;` 判断
2. 使 folderIcons 模式下也能正常弹出右键菜单
3. 菜单触发后恢复 baseLayer 焦点

Log: 文件夹图标现在可正常弹出右键菜单而不会被跳过
Influence: 全屏启动器中文件夹右键菜单可正常使用
PMS: BUG-384455
(cherry picked from commit 848549e)
@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Sorry @wjyrich, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 2 hours and 33 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Reviewer's Guide

UI

Remove the early return from the folder icon’s menu handler so the existing context menu opens in folderIcons mode and focus returns to the base layer.

  • qml/FullscreenFrame.qml L680 (removed lines)

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: MyLeeJiEun, wjyrich

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wjyrich
wjyrich merged commit 6c66889 into linuxdeepin:develop/2500u3 Nov 26, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants